
<?php
$view = $this->gcTemplate->gcView;
$data = $this->gcTransport->data;
$lang = $this->gcTransport->lang;

$skillDetail = explode("||", $data['cvk_skilldetail']);
$xhtml = ''; $i = 0;
if(isset($skillDetail) && count($skillDetail)>0) foreach ($skillDetail as $item){
	$tmp = explode("==", $item);
	$xhtml .= '<label class="color'.$i.'">'.$tmp[0].'<span class="color'.$i.'">'.$tmp[1].'</span></label>
	';
	$i++;
}
 
?>
<style>
.color0 {background-color: #E74B4E;}
.color1 {background-color: #F79820;}
.color2 {background-color: #6BBFE0;}
.color3 {background-color: #A9CE22;}
.color4 {background-color: #a3ef73;}
.color5 {background-color: #3e3333;}
.color6 {background-color: #53efd3;}
.color7 {background-color: #53e3d3;}
.color8 {background-color: #33ef33;}
.color9 {background-color: #333333;}
</style>
<h2><span><?php echo $view->translate('Skill set')?></span></h2>
					<br />
					<?php echo $data["cvk_skill".$lang]?>
					<!-- Skills Graph-->
					<table id="skill-rating" class="graphtable">
					<tr>
						<td>
							<div class="graph" style=" height: 240px;"></div>   
						</td>
						<td class="values">
						<?php if(isset($xhtml)) echo $xhtml;?>
						</td>
					</tr>
					</table>
					<!-- End Skills Graph-->